Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add TimeAsFeature to transform registry #2439

Closed
wants to merge 2 commits into from

Conversation

sdaulton
Copy link
Contributor

@sdaulton sdaulton commented May 8, 2024

Summary: see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label May 8, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57119551

@codecov-commenter
Copy link

codecov-commenter commented May 8, 2024

Codecov Report

Attention: Patch coverage is 98.40000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 95.32%. Comparing base (cea8dc3) to head (999eebd).

Files Patch % Lines
ax/modelbridge/transforms/time_as_feature.py 96.87% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2439    +/-   ##
========================================
  Coverage   95.31%   95.32%            
========================================
  Files         495      497     +2     
  Lines       48069    48194   +125     
========================================
+ Hits        45818    45941   +123     
- Misses       2251     2253     +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 8, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 8, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
@sdaulton sdaulton force-pushed the export-D57119551 branch from c724133 to bcb4b09 Compare May 8, 2024 19:54
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57119551

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 8, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 8, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
@sdaulton sdaulton force-pushed the export-D57119551 branch from bcb4b09 to 65b1b5e Compare May 8, 2024 23:34
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 8, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57119551

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 8, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 9, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
@sdaulton sdaulton force-pushed the export-D57119551 branch from 65b1b5e to adcf5d7 Compare May 9, 2024 00:31
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57119551

sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 9, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
sdaulton added 2 commits May 8, 2024 20:30
Summary:

This implements a transform for adding `start_time` and `duration` as features for modeling. Currently, this adds them as `RangeParameter`s (to unblock time-sensitive applications), but in the future it would be good to revise this with a better treatment of non-tunable contextual information.

`duration` appears to lead to better model fits on the synthetic example (notebook) than using `end_time`. This also works better than using the midpoint between start time and end time.

Reviewed By: bernardbeckerman, Balandat

Differential Revision: D57082939
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request May 9, 2024
Summary:

see title

Reviewed By: bernardbeckerman

Differential Revision: D57119551
@sdaulton sdaulton force-pushed the export-D57119551 branch from adcf5d7 to 999eebd Compare May 9, 2024 03:31
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57119551

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 406a1de.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants